package case1.controller;

import case1.core.adapter.HeartAdapter;
import case1.model.HeartModelInterface;
import case1.view.DJView;

/**
 * description:
 *
 * @author Yuanml on 2020/11/11 11:21
 */
public class HeartController implements ControllerInterface {
    private HeartModelInterface heartModel;
    private DJView view;
    public HeartController(HeartModelInterface heartModel) {
        this.heartModel = heartModel;
        view = new DJView(this, new HeartAdapter(heartModel));
        view.createControls();
        view.createView();
        view.disableStopMenuItem();
        view.disableStartMenuItem();
    }
    @Override
    public void start() {

    }

    @Override
    public void stop() {

    }

    @Override
    public void increaseBPM() {

    }

    @Override
    public void decreaseBPM() {

    }

    @Override
    public void setBPM(int bpm) {

    }
}
